package com.qm.console.dao.dm;

import com.qm.console.dao.model.AdvisorSummaryData;
import com.qm.console.dao.model.OrderSummaryData;
import com.qm.console.dao.model.OrderSummaryDataExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderSummaryDataMapper {
    long countByExample(OrderSummaryDataExample example);

    int deleteByExample(OrderSummaryDataExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OrderSummaryData record);

    int insertSelective(OrderSummaryData record);

    List<OrderSummaryData> selectByExample(OrderSummaryDataExample example);

    OrderSummaryData selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OrderSummaryData record, @Param("example") OrderSummaryDataExample example);

    int updateByExample(@Param("record") OrderSummaryData record, @Param("example") OrderSummaryDataExample example);

    int updateByPrimaryKeySelective(OrderSummaryData record);

    int updateByPrimaryKey(OrderSummaryData record);

    int totalCount();
    List<OrderSummaryData> selectAll(@Param("offset") int offset, @Param("pageSize") int pageSize);
}